package com.campus_assistant.mapper.db2;

import com.campus_assistant.pojo.db2.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TeacherMapper {
    int addTeacher(Teacher teacher);
    int deleteTeacher(int id);
    int updateTeacher(Teacher teacher);
    List<Teacher> selectAllTeacher();
}
